from enum import Enum


class DataDictionaryKey(Enum):
    # 配置键枚举
    TOTAL_HOLDING_AMOUNT = ("total_holding_amount", "持仓总金额")

    STOP_LOSS_RATIO = ("stop_loss_ratio", "止损比例")
    
    TAKE_PROFIT_RATIO = ("take_profit_ratio", "止盈比例")

    def __init__(self, key: str, description: str):
        self.key = key
        self.description = description

    def __str__(self):
        return self.key
